package xin.yangshuai.jvm01;

public class Et1 {
    public static int i;

    public Et1() {
        test();
    }

    public void test() {
        System.out.println(i);
    }

    public static void main(String[] args) {
        new Et2();
        new Et2();
    }
}

class Et2 extends Et1 {
    private int i = 10;

    @Override
    public void test() {
        System.out.println(i);
    }
}